import {post} from "@/api/Http";

export const getTypeList = () => {
  return  post("/novel/getTypeList")
}

export const getBookByTypeId = (id)=>{
  return post('/novel/getBookListByType',id)
}

export const getDetail = (bookId)=>{
  return post('/novel/bookDetail',bookId)
}

export const getBookItemDetail = (bookId,itemId)=>{
  return post('/novel/bookItemDetail',{bookId,itemId})
}

